package com.sixth.system;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @program: sixth-hospital-parent
 * @description:
 * @author: 李劲锋
 * @create: 2024-08-12 17:07
 **/
@SpringBootApplication
@MapperScan("com.sixth.system.mapper")
@EnableFeignClients(basePackages = {"com.sixth.core.feign"})
@ComponentScan(basePackages = {"com.sixth"})  // 扫描所有包
@EnableSwagger2
public class SystemApp {
    public static void main(String[] args) {
        SpringApplication.run(SystemApp.class,args);
    }
}

